package eu.webhib.frmwrk.jsf.utils;

import javax.annotation.*;
import org.apache.log4j.Logger;

//
public class PaginationSessionData {

   private static final Logger log = Logger.getLogger(PaginationSessionData.class);
   public int pageSize;
   public int startIndex;

   public int getPageSize() {
      return pageSize;
   }

   public void setPageSize(int pageSize) {
      this.pageSize = pageSize;
   }

   public int getStartIndex() {
      return startIndex;
   }

   public void setStartIndex(int startIndex) {
      this.startIndex = startIndex;
   }

   @PostConstruct
   public void init() {
      log.info("--- init ---");
   }

   @PreDestroy
   public void shutdown() {
      log.info("--- shutdown ---");
   }
}
